package com.aspose.cells;

class zaqa {
   String a;
   String b;
   boolean c;
   boolean d;
   String[] e;
   String[] f;
   String[] g;
   String[] h;

   void a(PageSetup var1, zapy var2) {
      if (this.b == null) {
         this.b = "Default";
      }

      zaqc var3 = (zaqc)((zaqc)var2.o.a.get(this.b));
      var3.a(var1);
      int var4;
      if (this.e != null) {
         for(var4 = 0; var4 < this.e.length; ++var4) {
            if (this.e[var4] != null && this.e[var4].length() != 0) {
               var1.setHeader(var4, this.e[var4]);
            }
         }
      }

      if (this.f != null) {
         for(var4 = 0; var4 < this.f.length; ++var4) {
            if (this.f[var4] != null && this.f[var4].length() != 0) {
               var1.setFooter(var4, this.f[var4]);
            }
         }
      }

      if (this.c && this.d) {
         var1.setHFDiffOddEven(true);
         if (this.g != null) {
            for(var4 = 0; var4 < this.g.length; ++var4) {
               if (this.g[var4] != null && this.g[var4].length() != 0) {
                  var1.setEvenHeader(var4, this.g[var4]);
               }
            }
         }

         if (this.h != null) {
            for(var4 = 0; var4 < this.h.length; ++var4) {
               if (this.h[var4] != null && this.h[var4].length() != 0) {
                  var1.setEvenFooter(var4, this.h[var4]);
               }
            }
         }
      }

   }
}
